<extend name="layout/application"/>
<block name="content">
    <div class="admin-content">
        <div class="am-cf am-padding">
            <div class="am-fl am-cf"><strong class="am-text-primary am-text-lg">新增分类</strong> /
                <small>Create A New Category</small>
            </div>
        </div>
        <hr>
        <div class="am-g">
            <div class="am-u-sm-12 am-u-md-12">
                <form class="am-form" action="{{:Url('Coursescate/save')}}" method="post">
                    <div class="am-tabs am-margin" data-am-tabs>
                        <div class="am-tab-panel am-fade am-in am-active">
                            <div class="am-g am-margin-top">
                                <div class="am-u-sm-4 am-u-md-2 am-text-right">
                                    分类名称
                                </div>
                                <div class="am-u-sm-8 am-u-md-5">
                                    <input type="text" class="am-input-sm" name="name">
                                </div>
                                <div class="am-hide-sm-only am-u-md-5">*必填，不可重复</div>
                            </div>

                            <div class="am-g am-margin-top">
                                <div class="am-u-sm-4 am-u-md-2 am-text-right">
                                    slug
                                </div>
                                <div class="am-u-sm-8 am-u-md-5">
                                    <input type="text" class="am-input-sm" name="slug">
                                </div>
                                <div class="am-hide-sm-only am-u-md-6"></div>
                            </div>
                            <div class="am-g am-margin-top">
                                <div class="am-u-sm-4 am-u-md-2 am-text-right">
                                    排序
                                </div>
                                <div class="am-u-sm-8 am-u-md-5">
                                    <input type="text" class="am-input-sm" name="sort">
                                </div>
                                <div class="am-hide-sm-only am-u-md-6"></div>
                            </div>
                        </div>
                    </div>

                    <div class="am-margin">
                        <button type="submit" class="am-btn am-btn-primary am-radius">提交保存</button>
                    </div>

                </form>
            </div>
        </div>
    </div>
</block>